interface Person {
  name: string,
  age: number
}

let person: Person = { // 赋值的时候变量的形状和接口的形状保持一致
  name: "小明",
  age: 24,
}